package data

import (
	"context"
	"fmt"
	"xiaofei-demo/app/service/internal/biz"
)

type greeterRepo struct {
}


func NewGreeterRepo() biz.GreeterRepo {
	return &greeterRepo{
	}
}

func (r *greeterRepo) CreateGreeter(ctx context.Context, g *biz.Greeter) error {
	fmt.Println("我做了创建")
	return nil
}

func (r *greeterRepo) UpdateGreeter(ctx context.Context, g *biz.Greeter) error {
	fmt.Println("我做了更新")
	return nil
}
